import IAreaPageForm from '@/model/form/area/IAreaPageForm'
import IAreaVO from '@/model/vo/area/IAreaVO'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：区域
export default function areaPageApi(form: IAreaPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IAreaVO>>>,
    IAreaPageForm
  >('/area/page', form)
}
